import '../utils/Utils.dart';

class AiModel {
  String? icon;
  String? name;
  String? desc;
  String? from;
  int? hot;

  AiModel({this.icon, this.name, this.desc, this.from, this.hot});

  Map<String, dynamic> toJson() {
    return {
      "icon": icon,
      "name": name,
      "desc": desc,
      "from": from,
      "hot": hot,
    };
  }

  factory AiModel.fromJson(Map<String, dynamic> json) {
    return AiModel(
      icon: json["icon"],
      name: json["name"],
      desc: json["desc"],
      from: json["from"],
      hot: json["hot"],
    );
  }
}

final List<AiModel> aiList = [
  AiModel(name: '清影提示词（图生视频专用）',desc: '打造电影级画面，一键生成惊艳视觉+对应提示词，你到AI电影艺术创作好帮手！',from: Utils.appName,hot: 127000),
  AiModel(name: 'AI搜索',desc: '连接全网内容，精准搜索，快速分期并总结的只能助手',from: Utils.appName,hot: 127000),
];

